/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * printDemo.java
 *
 * Created on Jan 5, 2010, 3:58:09 PM
 */

package example.print;

/**
 *
 * @author keysman
 */
public class printDemo extends our.gui.ourPrint {

    /** Creates new form printDemo */
    public printDemo(java.awt.Frame parent, boolean modal) {
        super(parent, modal, "Demo");
        // Definisco i parametri per effettuare la ricerca
        initialize( new Object[][] { new Object[] { "COGNOME", "cognome", our.gui.ourTextField.TYPE_ALFANUM },
                                     new Object[] { "NOME",    "nome",    our.gui.ourTextField.TYPE_ALFANUM },
                                     new Object[] { "TEL",     "tel",     our.gui.ourTextField.TYPE_ALFANUM } },
                                     "demo",
                                     "/example/print/modelli/demo.jrxml" );
    }


    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 400, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(0, 300, Short.MAX_VALUE)
        );
        pack();
    }
    // </editor-fold>//GEN-END:initComponents



    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

}
